package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.common.Result;
import com.example.demo.entity.Borrow;

import java.util.List;

public interface IBorrowService extends IService<Borrow> {
    Result saveBorrow(Borrow obj);

    Result removeByIdBorrow(Integer id);

    Result saveRetur(Borrow obj);

    List<Borrow> saveAll(List<Borrow> borrows);

    List<Borrow> listByUserId(Integer id);
}
